﻿@model IEnumerable<Ecommerce.Areas.Manager.Models.Order>
@{
    ViewBag.Title = "View Customer";
}

<fieldset>
    <legend>Customer List</legend>
    <p class="field-validation-error">
        @ViewBag.ErrorMsg
    </p>
    <table border="0">
        <thead>
            <tr>
                <td>Order No</td>
                <td>Order Date</td>
                <td>Total Price</td>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td>@item.OrderID</td>
                    <td>@item.OrderDate.ToString("DD MM YYYY")</td>
                    <td>@item.totalPrice$</td>
                </tr>
            }
        </tbody>
    </table>
</fieldset>
